home *** CD-ROM | disk | FTP | other *** search
/ ETO Development Tools 1 / ETO Development Tools 1.iso / Essentials / Developer Essentials Jul 90 / Programming / MPW Interfaces & Libraries 3.1 / CIncludes / DiskInit.h < prev    next >
Encoding:
C/C++ Source or Header  |  1989-10-13  |  1.1 KB  |  49 lines  |  [TEXT/MPS ]

  1. /************************************************************
  2.  
  3. Created: Thursday, September 7, 1989 at 3:48 PM
  4.     DiskInit.h
  5.     C Interface to the Macintosh Libraries
  6.  
  7.  
  8.     Copyright Apple Computer, Inc.     1985-1989
  9.     All rights reserved
  10.  
  11. ************************************************************/
  12.  
  13.  
  14. #ifndef __DISKINIT__
  15. #define __DISKINIT__
  16.  
  17. #ifndef __TYPES__
  18. #include <Types.h>
  19. #endif
  20.  
  21. struct HFSDefaults {
  22.     char sigWord[2];    /* signature word*/
  23.     long abSize;        /* allocation block size in bytes*/
  24.     long clpSize;        /* clump size in bytes*/
  25.     long nxFreeFN;        /* next free file number*/
  26.     long btClpSize;     /* B-Tree clump size in bytes*/
  27.     short rsrv1;        /* reserved*/
  28.     short rsrv2;        /* reserved*/
  29.     short rsrv3;        /* reserved*/
  30. };
  31.  
  32. typedef struct HFSDefaults HFSDefaults;
  33. #ifdef __cplusplus
  34. extern "C" {
  35. #endif
  36. pascal void DILoad(void);
  37. pascal void DIUnload(void); 
  38. pascal short DIBadMount(Point where,long evtMessage);
  39. OSErr dibadmount(Point *where,long evtMessage); 
  40. pascal OSErr DIFormat(short drvNum);
  41. pascal OSErr DIVerify(short drvNum);
  42. pascal OSErr DIZero(short drvNum,const Str255 volName); 
  43. OSErr dizero(short drvnum,char *volName);
  44. #ifdef __cplusplus
  45. }
  46. #endif
  47.  
  48. #endif
  49.